package com.ceair.flight.refund.dto.ota;


public class RefundAttachment {
	private long id;
	private byte[] content;
	private String name;

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public RefundAttachment() {
	}

	public RefundAttachment(com.ceair.flight.refund.dto.ota.RefundAttachment a) {
		this();
		this.id = a.getId();
		this.content = a.getContent();
		this.name = a.getName();
	}

	public byte[] getContent() {
		return content;
	}

	public void setContent(byte[] content) {
		this.content = content;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public com.ceair.flight.refund.dto.ota.RefundAttachment toRefundAttachment() {
		com.ceair.flight.refund.dto.ota.RefundAttachment r = new com.ceair.flight.refund.dto.ota.RefundAttachment();
		r.setId(getId());
		r.setName(getName());
		r.setContent(getContent());
		return r;
	}
	
	public com.ceair.flight.refund.dto.ota.Attachment toRefundV3Attachment() {
		com.ceair.flight.refund.dto.ota.Attachment r = new com.ceair.flight.refund.dto.ota.Attachment();
		r.setName(getName());
		r.setContent(getContent());
		return r;
	}
}
